package com.lufei.message_system.Service;

import com.lufei.message_system.Data.MbtiTypeDescriptionVD.*;
import com.lufei.message_system.Data.PageResult;
import com.lufei.message_system.Data.Result;

import java.util.List;

public interface MbtiTypeDescriptionService {

    // 创建
    Result createMbtiTypeDescription(MbtiTypeDescriptionCreateDTO createDTO);

    // 删除
    Result deleteMbtiTypeDescription(String mbtiType);

    // 更新
    Result updateMbtiTypeDescription(String mbtiType, MbtiTypeDescriptionUpdateDTO updateDTO);

    // 查询单个
    Result<MbtiTypeDescriptionVO> getMbtiTypeDescription(String mbtiType);

    // 查询列表（分页）
    Result<PageResult<MbtiTypeDescriptionVO>> listMbtiTypeDescriptions(Integer page, Integer size, MbtiTypeDescriptionQueryDTO queryDTO);
}